//
//  ISHud.m
//  iSocket
//
//  Created by lhj on 1/23/16.
//  Copyright © 2016 boer. All rights reserved.

#import "IMHud.h"

@interface IMHud ()

@end

@implementation IMHud

+ (void)initialize{
    [SVProgressHUD setDefaultStyle:SVProgressHUDStyleCustom];
    [SVProgressHUD setBackgroundColor:IMColorAlpha(0, 0, 0, 0.7)];
    [SVProgressHUD setForegroundColor:[UIColor whiteColor]];
//    [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeGradient];
    
    
}

+ (void)showErrorWithCode:(NSInteger)code{
    if (code == NSURLErrorCancelled) {
        return;
    }else{
//        [self showErrorWithStatus:[ISErrorMessage errorMessageWithCode:code]];
    }
}

@end
